package org.json.sax;

import org.json.sax.JSONParser.JSONParsingException;

public interface JSONTokenizer {

	boolean more();

	boolean back();

	int getIndex();

	char next() throws JSONParsingException;

	char nextClean() throws JSONParsingException;
	
    String next(int n) throws JSONParsingException;

    String nextString(char quote) throws JSONParsingException;
    
    Object nextValue() throws JSONParsingException;

    JSONParsingException syntaxError(String message);

}
